package com.example.cinema.dto;

import jakarta.persistence.criteria.CriteriaBuilder;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class ScheduleDTO {
    private Integer id;
    private Integer movie_id;
    private LocalDateTime start_time;
    private BigDecimal price;

    // 构造函数
    public ScheduleDTO() {
    }

    public ScheduleDTO(Integer id, Integer movie_id, LocalDateTime start_time, BigDecimal price) {
        this.id = id;
        this.movie_id = movie_id;
        this.start_time = start_time;
        this.price = price;
    }

    // getter和setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMovie_id() {
        return movie_id;
    }

    public void setMovie_id(Integer movie_id) {
        this.movie_id = movie_id;
    }

    public LocalDateTime getStart_time() {
        return start_time;
    }

    public void setStart_time(LocalDateTime start_time) {
        this.start_time = start_time;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}